home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4610 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  811 b 

  1. Path: news1.cris.com!Crawford
  2. From: Crawford@cris.com (CRAWFORD)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: malloc
  5. Date: 6 Feb 1996 03:54:26 GMT
  6. Organization: Concentric Internet Services
  7. Message-ID: <4f6jdi$3ii@spectator.cris.com>
  8. References: <311694DC.23905C8@traffic.jam.net>
  9. Reply-To: crawford@iac.net
  10. NNTP-Posting-Host: mariner.cris.com
  11.  
  12. David Shaffer <dshaffer@traffic.jam.net> writes:
  13.  
  14. >why does malloc itself give a sigsegv?
  15.  
  16.     Funny, it doesn't when _I_ call it...
  17.  
  18.     It could be the structures used to manage the heap are
  19. corrupted, ie, you wrote outside your malloc'ed space. Make sure all
  20. your malloc's are for the correct amount of memory and that you're
  21. bounds checking.
  22.  
  23.  
  24. --
  25. Creature of the wheel, lord of the internal combustion engine.
  26.  
  27. Robert Crawford                crawford@iac.net
  28. http://www.iac.net/~crawford
  29.